rollup-plugin-drupal-sdc-generator
Version:
This is a [Rollup](https://rollupjs.org) plugin that creates [single directory components](https://www.drupal.org/docs/develop/theming-drupal/using-single-directory-components) for embedding your app in a [Drupal](https://www.drupal.org) module or theme.
16 lines (15 loc) • 476 B
YAML
$schema: https://git.drupalcode.org/project/drupal/-/raw/HEAD/core/assets/schemas/v1/metadata.schema.json
name: "[label]"
status: stable
props:
type: object
properties: {}
libraryOverrides:
js:
# `[[name]]` will be replaced with the value "[name]".
# Use `[[[name]]]` if you want the string `[[name]]` included verbatim.
"[name].js": { attributes: { defer: true, type: "module" } }
dependencies:
- core/drupal
- core/once
- core/drupalSettings